home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 6 / CU Amiga Magazine's Super CD-ROM 06 (1996)(EMAP Images)(GB)(Track 1 of 4)[!][issue 1997-01].iso / imagine / extras / tools / fl / fl.txt next >
Text File  |  1996-10-13  |  4KB  |  105 lines

  1. FL is a fractal objects generator for Imagine.
  2.  
  3. Version: 1.1 (10,13,1996)
  4.  
  5. Description:
  6.  
  7.     The objects generated are made of a grid of evenly spaced points
  8.     in X and Y, like the primitive plane. The height (Z) position of
  9.     the points is determined by a semi-random fractal function.
  10.     Theses objects can be used as landscape or any crumpled surfaces.
  11.     The size of all objects created is 100 unit in X and in Y.
  12.  
  13.     Internally, a "virtual" landscape of 1024 X 1024 points is created as a
  14.     function of the random seed parameter. The height of a point in the
  15.     real landscape is equal to it's closest equivalent in the virtual one.
  16.     This way, all landscapes created with the same random seed are identical,
  17.     regardless of their number of points.
  18.  
  19. Included Files:
  20.     fl.txt         Documentation (This file)
  21.     land.jpg       Example picture
  22.     Land.atr       Imagine 4.0 attribute file used in land.jpg
  23.     Exec           Directory containing all executables
  24.       FL_DOS.EXE   MS-DOS version    (386, FPU)
  25.       FL_WIN32     Win32, console version (WinNT ou 95)
  26.       FL_AMIGA     Amiga (68020, FPU)
  27.       FL_SOLARIS   SUN Sparc running Solaris 2.5
  28.  
  29.       Thank to Per-Erik Westerberg for making the Amiga and Solaris versions of FL.
  30.  
  31. Usage:
  32.  
  33.    FL <File name>
  34.         <Number of points in X>
  35.         <Number of points in Y>
  36.         <Random number seed>
  37.  
  38.    <File name>
  39.         The name of the file created. If a file of the same name
  40.         already exists, it will be overwritten without warning.
  41.  
  42.     <Number of points in X>
  43.     <Number of points in Y>
  44.         Those two numbers must be greater than 3.
  45.         They indicate the number of points in the grid.
  46.  
  47.     <Random number seed>:
  48.         This is any positive number(s). Each number create a different shape.
  49.         By keeping the same random seed and changing the number of points,
  50.         you can create more or less precise version of the same landscape.
  51.         The Seed used is saved in the name of the object. The same seed
  52.         will alway produce the same shape. This parameter is optional; if
  53.         no seed are provided, a random one will be choosen.
  54.  
  55. Exemples:
  56.  
  57.     fl land.iob 10 10 765
  58.  
  59.         This command will generate an object file called "land.iob".
  60.         This object will have 100 points (10 X 10). 
  61.  
  62.     fl land2.iob 40 40 765
  63.  
  64.         This command will generate a landscape with an identical
  65.         shape as the previous one. Since it will have more points, it's shape
  66.         will be more precise.
  67.  
  68.     fl land3.iob 25 30
  69.  
  70.         This command will create a 100 unit by 100 unit random landscape,
  71.         with 25 points in X and 30 points in Y, using a random seed. The value
  72.     of the seed is stored in the object name.
  73.  
  74. Attributes:
  75.  
  76.     Objects created with FL have default attributes (white, phong shaded);
  77.     the file "land.atr" is an attribute file to add textures and colours
  78.     to the objects.
  79.  
  80. To reach the author:
  81.  
  82.     Send all comments, questions, "whish list" and bug repports to:
  83.  
  84.                 psauvage@aei.ca
  85.  
  86. Postcardware:
  87.     This program is freely redistributable as a "postcard"ware. If you use
  88.     and like this program, please send me a postcard of the place
  89.     where you are living. This program cannot be sold or included
  90.     with any sold product without my written approval. 
  91.  
  92.         Patrick Sauvageau
  93.         2485 Chartier
  94.         Saint-Hyacinthe (Quebec)
  95.         Canada
  96.         J2S 4A9
  97.  
  98.     Per-Erik Westerberg:
  99.     Per-Erik.Westerberg@uab.ericsson.se
  100.  
  101. History:
  102.     1.0    First version for PC.
  103.     1.1    Fixed the bug in the size of the TOBJ chunk (All versions);
  104.     1.1a    First Version for Amiga,Solaris and Win32.
  105.